package com.valten.task;

import org.springframework.stereotype.Component;

import java.util.UUID;

/**
 * 产生随机数定时任务
 */
@Component
public class RandomUUIDTask {

    public void work(){
        System.out.println(UUID.randomUUID().toString());
    }

}